package com.seabook.store.purchase.domain;

import java.util.Date;

public class OrderUpdate {
   public enum Type {ENQUIRY, SHIPINFO, BILLINFO, COMMENT, STATUS, UPDATE}; 
   
   public enum Status {OPEN, CLOSED, NA}; 
    
   private int updateId;
   
   private int orderId;
   
   private int userId;
   
   private String userName;
   
   private Date date;
   
   private String comment;
   
   private Type type;
   
   private Status status;

public int getUpdateId() {
    return updateId;
}

public void setUpdateId(int updateId) {
    this.updateId = updateId;
}

public int getOrderId() {
    return orderId;
}

public void setOrderId(int orderId) {
    this.orderId = orderId;
}

public int getUserId() {
    return userId;
}

public void setUserId(int userId) {
    this.userId = userId;
}

public String getUserName() {
    return userName;
}

public void setUserName(String userName) {
    this.userName = userName;
}

public Date getDate() {
    return date;
}

public void setDate(Date date) {
    this.date = date;
}

public String getComment() {
    return comment;
}

public void setComment(String comment) {
    this.comment = comment;
}

public Status getStatus() {
    return status;
}

public void setStatus(Status status) {
    this.status = status;
}

public Type getType() {
    return type;
}

public void setType(Type type) {
    this.type = type;
}

}
